<html>
<head><meta charset="utf-8"><title>Comments on queries don&#x27;t show up in generated docs · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Comments.20on.20queries.20don&#x27;t.20show.20up.20in.20generated.20docs.html">Comments on queries don&#x27;t show up in generated docs</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="210254612"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Comments%20on%20queries%20don%27t%20show%20up%20in%20generated%20docs/near/210254612" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Comments.20on.20queries.20don&#x27;t.20show.20up.20in.20generated.20docs.html#210254612">(Sep 16 2020 at 12:36)</a>:</h4>
<p>Is this a bug somewhere? It makes the queries a lot harder to read. <a href="https://github.com/rust-lang/rust/pull/76784#discussion_r489398026">https://github.com/rust-lang/rust/pull/76784#discussion_r489398026</a></p>



<a name="210343454"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Comments%20on%20queries%20don%27t%20show%20up%20in%20generated%20docs/near/210343454" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Comments.20on.20queries.20don&#x27;t.20show.20up.20in.20generated.20docs.html#210343454">(Sep 17 2020 at 03:01)</a>:</h4>
<p>after looking at this, this is a maze of macros. I see</p>
<ul>
<li><code>rustc_queries</code>, defined in <code>rustc_macros::query</code></li>
<li><code>define_queries</code>, defined in <code>rustc_middle::ty::query::plumbing</code></li>
<li>the invocation of <code>rustc_queries</code>, in <code>rustc_middle::query</code></li>
<li>possibly more ???</li>
</ul>



<a name="210344004"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Comments%20on%20queries%20don%27t%20show%20up%20in%20generated%20docs/near/210344004" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Comments.20on.20queries.20don&#x27;t.20show.20up.20in.20generated.20docs.html#210344004">(Sep 17 2020 at 03:12)</a>:</h4>
<p>looks like <code>rustc_queries</code> is the most relevant</p>



<a name="210347188"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Comments%20on%20queries%20don%27t%20show%20up%20in%20generated%20docs/near/210347188" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Comments.20on.20queries.20don&#x27;t.20show.20up.20in.20generated.20docs.html#210347188">(Sep 17 2020 at 04:28)</a>:</h4>
<p>figured it out :) <a href="https://github.com/rust-lang/rust/pull/76820">https://github.com/rust-lang/rust/pull/76820</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>